<include file="Public:header" />
<div class="alert alert-info">
    工人信息管理
</div>
<a style="width:132px;" class="btn btn-primary add dropdown-toggle" data-toggle="dropdown">
    添加
</a>
<ul class="dropdown-menu" style="position: absolute;left:913px;top:96px;">
    <li><a  href="__URL__/add">添加一个工人信息</a></li>
    <li><a href="__URL__/addByExcel">excel导入工人信息</a></li>
</ul>
<table class="table table-striped">
    <tr>
        <th>姓名</th>
        <th>部门</th>
        <th>班组</th>
        <th>操作</th>
    </tr>
    <volist name="data" id="val">
        <tr>
            <td>{$val.worker_name}</td>
            <td>{$val.worker_department}</td>
            <td>{$val.worker_group}</td>
            <td><a href="__URL__/update/id/{$val.id}" class="btn"><i class="icon-edit"></i></a>
                &nbsp;&nbsp;<a data="{$val.id}" href="__URL__/delete" class="btn" onclick="return ajax_delete(this);"><i class="icon-remove"></i></a></td>
        </tr>
    </volist>
</table>

<div class="pagination">
    {$page}
</div>

<include file="Public:check"/>

</body>
</html>